home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
AVOGADRO
/
CHEMISTRY
/
WAVEFUNCTION
/
!WaveFunc
/
!Run
< prev
next >
Wrap
Text File
|
1996-07-02
|
996b
|
33 lines
| > !WaveFunc.!Run
|
| Run File for Wavefunction Display
|
| by Chris Johnson
|
RMEnsure UtilityModule 3.10 Error This application is only suitable for use with RISC OS 3.10 or later versions
|
If "<WaveFunc$Running>" = "yes" Then Error WaveFunc is already running
IconSprites <Obey$Dir>.!Sprites
|
| Find path to file
Set WaveFunc$Dir <Obey$Dir>
|
set temp$flag 1
RMEnsure ABCLibrary 0 set temp$flag 0
RMensure ABCLibrary 4.00 if "<temp$flag>" = "1" Then Error 0 Old ABCLib installed Else RMLoad <Obey$Dir>.ABCLib
RMensure ABCLibrary 4.00 Error You need the ABClibrary ver 4.00 or later installed
|
set temp$flag 1
RMEnsure CJWimpUtil 0 set temp$flag 0
RMEnsure CJWimpUtil 0.18 if "<temp$flag>" = "1" Then Error 0 Old CJWimpUtil module installed Else RMLoad <Obey$Dir>.cjWimpUtil
RMEnsure CJWimpUtil 0.18 Error You need the CJWimpUtil module (0.18 or later) installed
unset temp$flag
|
| Check memory allocation
WimpSlot -min 64K -max 64K
|
|
|
| Now start program
Run <WaveFunc$Dir>.!RunImage